package cn.jd.basic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountUserDto {
    @NotBlank(message = "用户不能为空")
    private String username;
    @NotBlank(message = "图形验证码不能为空")
    private String imageCodeValue;
    @NotBlank(message = "图形验证码的key不能为空")
    private String imageCodeKey;
    @NotNull(message = "类型不能为空")
    private Integer type;
}
